PageTracker¬ takes a log file, or folder of log files, from a WindowsNT server, strips out all the .GIF and .JPG "hits" and tracks a pre-defined list of pages.
GEE, THAT'S NICE, BUT WHY?
Currently I am the webmaster for Cal State Fullerton's athletic site. I needed a quick and dirty method to track the number of hits for certain pages. Also. I wanted to learn how to program in REALbasic and this is what I came up with.
WHAT'S USEFUL TO ME?
Maybe not much. Here is a list of some items which are implemented:
Ñ Preferences file with Save
Ñ Editable (double clickable) Listboxes with muliple columns
Ñ Importing a text file
Ñ Progress Bar
Ñ Rinaldi's XFCN (fullSFPack) which let's you select only a folder, among
other things.
Ñ Procedure to count the number of lines in a text file (GetNumLinesOfFile)
Ñ Menu handling
BY THE WAY
There is an unused procedure (getLines) which does the exact same thing as GetNumLinesOfFile but is MUCH SLOWER. GetLines uses .readAll method of a TextInputStream
RUNNING A FOLDER -- KNOW PROBLEM
I've included some sample log files within the "Logs" folder. If you select the Run Folder button or menu item, DO NOT save the "export" file within the log folder.
HANDLE WITH CARE
This is my first program in REALbasic, and given the fact that I have never used an OOP-based language,there are probably better ways to implement certain items. If you would like to comment, please email me at paulcausey@yahoo.com.